<%@ page import="DOMAIN.ThoughtItem" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %>

<html>
<head>
<title>Liste des id&eacute;es</title>
 <link rel="stylesheet" href="style.css">
</head>
<body>	

<div id="topNav" >
<%@ include file="menu.jsp" %>	
</div>
<div id="content"  >
	<h2 ><span>Liste des </span>id&eacute;es</h2>
    <div id="leftContent">
	
    <ul>
    
        <% 
            List<ThoughtItem> list =  ((List<ThoughtItem>)request.getAttribute("ThoughtItems"));
					
            for(ThoughtItem t :list)
            {
            %>
            <li><a href="DetailThoughtItem?id=<%= t.GetId() %>"><%= t.GetTitle()%></a></li>
            <%
            }
			
            
         %>
    </ul>	
    </div>
    <div id="rightContent">
    <h3>Action</h3>    
    <p>
    <ul><li><a href="AddThoughtItem" >Ajouter une id&eacute;e </a></li>
    </ul>
    </p>
    </div>
	
</div>	


</body>
</html>
